/*
 * CS_PARTY_USER_LIST.cpp
 *
 *  Created on: 2013. 5. 21.
 *      Author: the2
 */


#include "../../User.h"
#include "dungeon.h"

namespace ProjectZ { namespace NCommand { namespace NDungeon {

void CS_PARTY_USER_LIST::OnExecute(User * pUser, ::Network::Packet * pPacket)
{
//	PREPARE_PACKET;
//
//	::Logger::GETLOG()->ToFile(::Logger::DEBUG, "GID \t%d CS_PARTY_USER_LIST", pUser->GetGID());
//
//	::ProjectZ::NGame::CBaseSpace *pSpace = pUser->GetSpace();
//
//	////
//	::ProjectZ::NGame::CBaseSpace::PLAYERTREE & playerTree = pSpace->GetPlayerTree();
//	if (true == playerTree.empty())
//		return;
//
//	//
//	::Network::Packet ack;
//	ack.MsgCat("%c", pSpace->GetPlayerTree().size());
//
//	::ProjectZ::NGame::CBaseSpace::CITR citr = playerTree.begin();
//	for(;citr != playerTree.end(); citr++)
//	{
//		User * pOtherUser = ( * citr ).second;
//
//		if( 1)	//pOtherUser->GetGID() != pUser->GetGID() )
//			ack.MsgCat("%d", pOtherUser->GetGID());
//	}
//	ack.MakePacket(CMD_SC_PARTY_USER_LIST);
//	pUser->Send(ack);
}

} /*NDungeon*/ } /*NCommand*/ } /*ProjectZ*/
